home *** CD-ROM | disk | FTP | other *** search
/ GFX Sensations 1 / Graphic Sensations - Volume 1.iso / tools / amiga / 3d_tools / alphatex.txt < prev    next >
Encoding:
Text File  |  2000-01-01  |  9.3 KB  |  258 lines

  1. Short:     Textures for Imagine3.FP
  2. Author:    Michael Rivers
  3. Uploader:  Joop.vandeWege@Medew.ENTO.WAU.NL
  4. Type:      gfx/3d
  5.  
  6. What follows is the doc which is included with the archive:
  7.  
  8.            June 30,1994
  9.  
  10.   Alpha, SetAttrb, Flicker, FogMap & BumpBuffer textures
  11.    copyright 1994, Michael Rivers
  12.  
  13.          ShareWare fee: $5(US) or more
  14.  
  15.   Send Money/Suggestions to:
  16.      Michael Rivers
  17.      4302 Wisconsin Court
  18.      Tampa, Fl, USA, 33616  
  19.  
  20.   I can be E-mailed at
  21.      mrivers@tbag.tscs.com
  22.  
  23. These textures require the Amiga floating point
  24. version of Imagine 3 (Impulse).
  25.  
  26.  
  27. This textures are freely distributable 
  28. as long as the following criteria are met:
  29.  
  30. 1. All the following files are in the archive:
  31.    Alpha.Doc
  32.    Alpha.itx.040
  33.    Alpha.itx.020.030
  34.    SetAttrb.itx
  35.    FogMap.itx
  36.    Flicker.itx
  37.    BumpBuffer.itx
  38.  
  39. 2. No fee is charged by a non-profit distributer
  40.    except media & mail fees and the reciever pays
  41.    the shareware fee.
  42.         -- or --
  43.    (with my permission)
  44.    Or the distributer pays a "bulk" shareware fee
  45.    of my determination, and may distribute it with
  46.    a commercial or non-commercial package, and 
  47.    reciever is not required to pay the shareware fee.
  48.  
  49.  
  50. =================================================
  51. Alpha Texture (v1.1)
  52.   History: 1.0 initial release.
  53.            1.1 astetical fixes.
  54.                (the numbers indicating which entry
  55.                 is valid for each operation were wrong) 
  56.            1.5 Now works with Bumps. And allows simple
  57.                restoring of attributes.
  58.  
  59. Type: Color, Filter, Reflection, Fog, Bump.
  60.  
  61. Multi-Operation texture/brush composition texture.
  62.  
  63.  
  64. Requester:
  65.  
  66. Operation:      Operations this instance of the texture will do: 0 will
  67.                 save all the current attributes of the object into a
  68.                 buffer, 1 will composite two buffers, 2 will do tinting
  69.                 and shading, 3 will simply restore a buffer(no compositing)
  70.                 to the object
  71.  
  72. Valid Entries for Operation 0 (Save):
  73.  
  74. Buffer A(0-9):  This is the buffer number in which the objects
  75.                 color,filter,reflectivity etc are to be saved.
  76.  
  77.    
  78. Valid Entries for Operation 1 (Compose)
  79.  
  80. Buffer A & B(-1,0-9):   these are the numbers of the Buffers to composite.
  81.                         -1 means to use the current color,filter, etc.
  82.  
  83. Mix Amount(0-1):        this affects how transparent Alpha Buffer A is,
  84.                         0 is completely opaic, and 1 is completely
  85.                         transparent.
  86.  
  87. AlphaChan(-1,0-9):      This specifies which buffer to use as a 
  88.                         alpha-stencil, use -1 to use the current
  89.                         color of the object 
  90.  
  91. Alpha Strength(0-1):    This specifies the strength of the AlphaChan,
  92.                         at 0 the transparency level is taken from
  93.                         Mix Amount, 1 will take the transparency
  94.                         level from the AlphaChan (keying off the
  95.                         the average of R,G,& B of the stencil).
  96.                         Intermediate values will mix the two.  
  97. Color Alphas:
  98.   Red Alpha     | These are similar to Alpha Strength but key or the red,
  99.   Green Alpha   | green, or blue of the stencil, and the results only
  100.   Blue Alpha    | modify the red, green, or blue.
  101.  
  102. Attributes:       what attributes the texture will affect.  the values
  103.                   may be added together to modify multiple attributes.
  104.                   ex: for color and filter would = 5.   
  105.  
  106. Valid Entries for Operation 2 (Tint and Shade):
  107.  
  108. Buffer A:       Which buffer to modify. -1 will use current colors
  109.                 of object.
  110.  
  111. Buffer B:       Which buffer will be used for the tint/shade map.
  112.                 -1 will use current colors of object.
  113.                 
  114.  
  115. Mix Amount:     How strong the tint/shade map is. a value of 1 will give
  116.                 results as follows:
  117.  
  118.                  Buffer A             Buffer B           result
  119.                 --------------------------------------------------
  120.                    red                 white         =    white   
  121.                    red            grey(128,128,128)  =     red
  122.                    red                 black         =    black  
  123.  
  124.                 lower values will have less pronounced effects.
  125.  
  126.  
  127. Valid Entries for Operation 3 (Restore buffer):
  128.  
  129. Buffer A:       Which objects attributes to place on the object.
  130.                 valid values 0-9
  131.  
  132. Attributes:     Which Attributes to apply to the object from the buffer
  133.                 for multiple attributes add the attributes values together
  134.  
  135. -------------------------------------------------------------------
  136. Example Attribute lists
  137.  
  138. This will composite the checks and fireball textures 50/50:
  139.  
  140.   Checks  - default settings
  141.   Alpha   - Operation 0, Buffer A 0
  142.   Fireball- default settings 
  143.   Alpha   - Operation 0, Buffer A 1
  144.   Alpha   - Operation 1, Buffer A 0, Buffer B 1, Mix Amount .5,
  145.             Attributes=1
  146.  
  147.   -or-
  148.   
  149.   Checks  - default settings
  150.   Alpha   - Operation 0, Buffer A 0
  151.   Fireball- default settings 
  152.   Alpha   - Operation 1, Buffer A 0, Buffer B -1, Mix Amount .5,
  153.             Attributes=1
  154.  
  155.  
  156. This is how a stencil can be used:
  157.  
  158.   Checks  - default settings
  159.   Alpha   - Operation 0, Buffer A 0
  160.   Fireball- default settings 
  161.   Alpha   - Operation 0, Buffer A 1
  162.   A brushmap with various shades of grey, used for stencil.
  163.   Alpha   - Operation 1, Buffer A 0, Buffer B 1, Alpha Chan -1,
  164.             Alpha Strength=1, Attributes=1
  165.  
  166. Composing textures with bumpy attributes is more difficult:
  167.  
  168.   BumpBuffer - Operation=0, Buffer=0
  169.   Leather    - default settings
  170.   Alpha      - Operation=0, BufferA=0
  171.   BumpBuffer - Operation=1, Buffer=0
  172.   SetAttrib  - Set Color as you prefer
  173.                (bathtile.itx uses the color already on the object
  174.                 for the color of the tiles, so this texture is
  175.                 used to change the object color,refl... so previous
  176.                 textures won't show through the bathtile)  
  177.   BathTiles  - rotate axis on X 90 degrees
  178.   Alpha      - Operation=0, BufferA=1
  179.   (insert a greyscale picture or texture for the alpha channel here)
  180.   Alpha      - Operation=1, BufferA=0, BufferB=1, AlphaChan=-1,
  181.                Alpha Strength=1, Attributes=9 (Color+Bumps,1+8)
  182.  
  183. ====================================================
  184. SetAttributes texture
  185.  
  186. this texture allows you to set certain attributes of an object. It was
  187. created because many of Impulse's textures (like wood) use the
  188. color,filter, refl, etc values already on the object, which makes the alpha
  189. texture difficult to use.
  190.  
  191. ====================================================
  192. FogMap texture
  193.  
  194. History: 1.0 original
  195.          1.1 the fog len is now scaled when the object is scaled(sized).
  196.  
  197. takes the color of the object to determine the fog length
  198.  
  199. Black Fog Length : Fog length where the object is black
  200. White Fog Length : Fog Lenght whare the object is white
  201.  
  202. Note: The objects Fog Length must be non-zero in order for
  203.       this texture to work
  204.  
  205. ====================================================
  206. Flicker Texture
  207.  
  208. this texture causes the objects attributes to flicker
  209. between those already on the object and the attributes
  210. specified in this requester.
  211.  
  212. the foglen value of this texture will have no effect
  213. unless the objects foglen is greater than 0
  214.  
  215.  
  216. ====================================================
  217. BumpBuffer Texture
  218.  
  219. this texture is used to save and restore the bumps of
  220. an object.  It is required when using the Alpha texture
  221. to composite bumps this is because bumpy textures modify
  222. the bumpiness of the object, so if a bump is already their
  223. it may make it more bumpy, or even flatten out the bump.
  224. thus,this texture can be stuck in the texture/brushmap at
  225. priority 1 to save the bumpiness of the object(or the
  226. flattness in this case), a bumpy texture can be placed at
  227. priority 2, anf finallt this texture can again be applied
  228. at priority 3 to restore the flattness of the object.
  229. Although the Alpha texture itself can be used for this
  230. purpose, this texture was created to reduce confusion
  231. in the texture/brushmap list.
  232.  
  233. Operation: what this instance of the texture does.
  234.  
  235. Buffer: which buffer to store or restore the bump.
  236.  
  237.  
  238. ============================= Archive contents =============================
  239.  
  240. Original  Packed Ratio    Date     Time    Name
  241. -------- ------- ----- --------- --------  -------------
  242.     7987    2745 65.6% 10-Aug-94 01:18:56  Alpha.Doc
  243.      512     230 55.0% 07-Aug-94 18:36:56  Alpha.Doc.info
  244.     4028    2218 44.9% 11-Aug-94 22:50:36  Alpha.itx.020.030
  245.      491     278 43.3% 11-Aug-94 22:51:18  Alpha.itx.020.030.info
  246.     5540    3207 42.1% 11-Aug-94 12:39:32  Alpha.itx.040
  247.      491     276 43.7% 11-Aug-94 22:50:04  Alpha.itx.040.info
  248.     1000     486 51.4% 07-Aug-94 18:35:28  BumpBuffer.itx
  249.      491     281 42.7% 07-Aug-94 18:37:34  BumpBuffer.itx.info
  250.     2388    1261 47.1% 04-Jul-94 00:26:16  Flicker.itx
  251.      491     279 43.1% 07-Aug-94 18:36:56  Flicker.itx.info
  252.      964     465 51.7% 07-Aug-94 19:15:42  FogMap.itx
  253.      491     280 42.9% 07-Aug-94 19:16:16  FogMap.itx.info
  254.     1264     570 54.9% 30-Jun-94 16:12:46  SetAttrb.itx
  255.      491     281 42.7% 07-Aug-94 18:36:56  SetAttrb.itx.info
  256. -------- ------- ----- --------- --------
  257.    26629   12857 51.7% 27-Aug-94 11:01:22   14 files
  258.